<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
    while(true){
        var grad = prompt('请输入你的成绩哦');
        if (grad>=90) {
            alert('你好棒啊');
        } else if(grad>=80){
            alert('继续加油啊');
        } else if(grad>=60){
            alert('不错不错');
        }else if(grad<60) {
            alert('你可以死了');
        }
    }   
        
           
        
    </script>
</body>
</html>